#!/usr/bin/env python
# -*- coding: UTF-8 -*-
from distutils.core import setup
import py2exe
import glob
import sys

sys.path.append('..')
# if not, file in the folder will not be extracted.

from appconf import appconf

#this allows to run it with a simple double click.
sys.argv.append('py2exe')

script = [{
    "script":"../main.pyw", 
    'dest_base':appconf['exeName']
    }]

py2exe_options = {
        "includes":["sip"],
        "dll_excludes": ["MSVCP90.dll", "w9xpopen.exe"]
        }

setup(windows=script,options={'py2exe':py2exe_options})

